package com.ayuku.commons;

import java.text.SimpleDateFormat;
import java.util.Locale;

public class AYConst {
    public static final String APP_TITLE = "AyukuCode Course 0.2";
    public static final String TRX_FAIL = "Transaction fail!";
    public static final String TRX_SUCCESS = "Transaction success!";
    public static final String CONFIRM_DELETE = "Are you sure to delete this row?";
    public static final String FAIL_LOAD = "Loading fail!";
    public static final String FAIL_VIEW = "Please select row you want to edit!";
    public static final String FAIL_EDIT = "Fail edit data, please try again!";
    public static final String FAIL_ADD = "Fail when add new row, please try again!";
    public static final String FAIL_DELETE = "Please select row you want to delete!";
    public static final int MODE_VIEW = 0;
    public static final int MODE_ADD = 1;
    public static final int MODE_EDIT = 2;
    public static final int MODE_DELETE = 3;
    public static final int MODE_LIST = 4;
    public static final int MSG_INFO = 0;
    public static final int MSG_WARN = 1;
    public static final int MSG_ERR = 2;
    public static final int MAX_ROWS = 200;
    

	public static final SimpleDateFormat TIMESTAMP_FORMAT = new SimpleDateFormat(
	"yyyy-MM-dd hh:mm:ss", Locale.US);    	
	
	public static final SimpleDateFormat FOR_TRX_NO_FORMAT = new SimpleDateFormat(
			"ddMMyy-hhmmss", Locale.US);    	
	
	public static final SimpleDateFormat DATE_FORMAT_QUERY_DB = new SimpleDateFormat(
	"yyyy-MM-dd", Locale.US);  
	
	public static final SimpleDateFormat DATE_FORMAT_FOR_LIST = new SimpleDateFormat(
	"dd-MM-yyyy", Locale.US);	
	
	public static final SimpleDateFormat DATE_FORMAT_FULL_LIST = new SimpleDateFormat(
			"dd-MM-yyyy hh:mm:ss", Locale.US);
	
	public static final SimpleDateFormat DATE_FORMAT_FORM = new SimpleDateFormat(
	"dd-MM-yyyy", Locale.US);	

	
	public static final SimpleDateFormat DATE_FORMAT_PERSONAL_MOVE = new SimpleDateFormat(
			"dd/MM/yyyy", Locale.US);	
	
	public static final SimpleDateFormat DATE_FORMAT__KONTRAK = new SimpleDateFormat(
			"dd MMMM yyyy", Locale.US);	

	
	public static final SimpleDateFormat DATE_FORMAT_EXCEL = new SimpleDateFormat(
			"dd/MM/yyyy", Locale.US);	
	
	public static final SimpleDateFormat DATE_FORMAT_TO_SERVER = new SimpleDateFormat(
			"dd/MM/yyyy", Locale.US);	
			
	
	public static final SimpleDateFormat DATE_FORMAT_FULL_FORM = new SimpleDateFormat(
	"dd-MMM-yyyy", Locale.US);	
	
	public static final SimpleDateFormat HOUR_LIST = new SimpleDateFormat(
	"hh:mm", Locale.US);
	
	public static final SimpleDateFormat HOUR_FORM = new SimpleDateFormat(
	"hh:mm", Locale.US);
	
	public static final SimpleDateFormat WORK_HOUR_FORMAT = new SimpleDateFormat("hh:mm:ss");
	public static final String CURRENCY_CODE = "Rp.";
}
